package com.tentative.competition.common.model.schedule.param;

import com.tentative.competition.common.enums.OperateTypeEnum;
import com.tentative.competition.common.enums.WorksStatusEnum;
import com.tentative.competition.common.model.param.PageParam;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @auther: Smile Huang
 * @date: 2023/6/24 16:37
 * @desc:
 * @version: 2.0
 */
@Data
public class ScheduleWorkSearchParam extends PageParam {

    @NotNull(message = "赛程ID不能为空")
    @ApiModelProperty("赛程ID")
    private Long scheduleId;

    @ApiModelProperty("用户ID")
    private Long userId;

    @ApiModelProperty("作品名称")
    private String worksName;

    @ApiModelProperty("奖项ID")
    private String awardId;

    @ApiModelProperty("排序字段")
    private String orderBy;

    @ApiModelProperty("排序DESC倒序，ASC正序")
    private String order;

    /**
     * 是否首页展示
     */
    private Boolean homeShow;

    /**
     * 是否往届展示
     */
    private Boolean backShow;

}
